﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TileMapEditor
{
    [CreateAssetMenu(fileName = "New Trigger", menuName = "六边形地图编辑/触发", order = 1)]
    [System.Serializable]
    public class Trigger : ScriptableObject
    {
        public int id;
        public TriggerType type;
        //public string stringParam;
        [SerializeField]
        public List<int> intParams;
        [HideInInspector]
        public string exportStr;

        public static string[] TriggerTypeNames = EnumParser.GetEnumDescriptions(typeof(TriggerType));
        public static int[] TriggerTypes = EnumParser.GetEnumValues(typeof(TriggerType));
    }
}